<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>查看志愿</title>
<link rel="stylesheet" href="${ctxPath}/static/portal/css/reset.css">
<link rel="stylesheet" href="${ctxPath}/static/portal/css/main-zsb.css">
<script src="${ctxPath}/static/js/jquery.min.js?v=2.1.4"></script>
<script src="${ctxPath}/static/js/plugins/layer/layer.min.js"></script>
<script src="${ctxPath}/static/js/common/ajax-object.js"></script>
<script src="${ctxPath}/static/js/common/Feng.js"></script>
<script type="text/javascript">
	Feng.addCtx("${ctxPath}");
	$.ajaxSetup({
		contentType: "application/x-www-form-urlencoded;charset=utf-8",
		complete: function (XMLHttpRequest, textStatus) {
			//通过XMLHttpRequest取得响应头，sessionstatus，
			var sessionstatus = XMLHttpRequest.getResponseHeader("sessionstatus");
			if (sessionstatus == "timeout") {
				//如果超时就处理 ，指定要跳转的页面
				window.location = Feng.ctxPath + "/portal/login?sessionstatus=timeout";
			}
		}
	});
</script>
</head>
<body style="overflow-y: hidden;">
	<div class="bm-top">
		<img src="${ctxPath}/static/portal/images/logo-03_01.png">
	</div>
	<div class="bmxt-sidebar">
		<div class="bmxt-sidebar-list">
			<h1>操作选项</h1>
			<ul>
				<li onclick="location.href='${ctxPath}/portal'"><i><img src="${ctxPath}/static/portal/images/icons/icon-home.png"></i>管理主页</li>
				<li onclick="location.href='${ctxPath}/portal/changePwd'"><i><img src="${ctxPath}/static/portal/images/icons/icon-password.png"></i>修改密码</li>
				<li onclick="location.href='${ctxPath}/portal/checkWish'"><i><img src="${ctxPath}/static/portal/images/icons/icon-edit.png"></i>填报志愿</li>
				<li onclick="logout();"><i><img src="${ctxPath}/static/portal/images/icons/icon-exit.png"></i>退出系统</li>
			</ul>
			<!--<div class="copyright-info">-->
				<!--<P>©版权所有</P>-->
				<!--<p>苏州格尔斯信息技术有限公司</p>-->
			<!--</div>-->
		</div>
	</div>
	<div class="bm-main" style="padding-bottom: 100px;margin-bottom: 100px;">
		<div class="n-place">
			<p>
				<i>您的位置:<a>首页</a><i>></i><a href="javaScript:void(0);">查看志愿</a></i>
			</p>
		</div>
		<div class="person-table">
			<table class="pa-main-table">
				<tbody>
					<tr>
						<td colspan="2" rowspan="4" align="center" valign="middle"><img
							id="picArea" width="100" height="120"
							src="${ctxPath}/seniorExaminee/examineeHeadPic/${isNotEmpty(examinee.archivesNumber)?examinee.archivesNumber:0}" alt="${isNotEmpty(examinee.archivesNumber)?examinee.archivesNumber:0}"
							border="0"></td>
						<td class="portlet-table-odd"><b>准考证号</b></td>
						<td class="portlet-table-even">${examinee.examCardNumber}</td>
						<td class="portlet-table-odd"><b>所在学校</b></td>
						<td class="portlet-table-even">${examinee.seniorSchoolName}</td>
						<td class="portlet-table-odd"><b>所在班级</b></td>
						<td class="portlet-table-even">${examinee.seniorClassName}</td>
					</tr>
					<tr>
						<td class="portlet-table-odd"><b>考生姓名</b></td>
						<td class="portlet-table-even">${examinee.studentName}</td>
						<td class="portlet-table-odd"><b>考生性别</b></td>
						<td class="portlet-table-even">${examinee.gender}</td>
						<td class="portlet-table-odd"><b>填报状态</b></td>
						<td class="portlet-table-even">
							${constant.getDictByCodeAndValue("write_status",examinee.writeStatus).name}</td>
					</tr>
					<tr>
						<td class="portlet-table-odd"><b>确认状态</b></td>
						<td class="portlet-table-even">
							${constant.getDictByCodeAndValue("confirm_status",examinee.confirmStatus).name}</td>
						</td>
					</tr>
				</tbody>
			</table>
		</div>
		<div class="tbzy-wrap" style="margin-bottom: 100px;">
			<div class="tb-table-01">
				<h1>
					提前录取(师范)<input id="batch1_quit" class="check_batch_quit" type="checkbox" data-batch="1"
					${seniorWish.batch1QuitFlag==1?"checked=\"true\":\"\""}
				/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td>报考专业</td>
					</tr>
					<tr>
						<td>提前录取</td>
						<td>----</td>
						<td>统招</td>
						<td>----</td>
						<td>
							<p>
								${seniorWish.batch1School1Name}
							</p>
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<div class="tb-table-01">
				<h1>
					指标生录取<input id="batch2_quit" class="check_batch_quit" type="checkbox" data-batch="2" ${seniorWish.batch2QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td>报考专业</td>
					</tr>
					<tr>
						<td rowspan='3'>指标生录取</td>
						<td>一阶段</td>
						<td>指标生</td>
						<td>----</td>
						<td>
							<p>
								${seniorWish.batch2School1Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td rowspan='2'>二阶段</td>
						<td>指标生</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch13School1Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td>指标生</td>
						<td>B</td>
						<td>
							<p>
								${seniorWish.batch13School2Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<!--提前录取普高-->
			<div class="tb-table-01">
				<h1>
					提前录取(普高)<input id="batch3_quit" class="check_batch_quit" type="checkbox" ${seniorWish.batch3QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td colspan="2">报考专业</td>
					</tr>
					<tr>
						<td>第三批录取</td>
						<td>----</td>
						<td>统招</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch3School1Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<!-- 第一批录取 -->
			<div class="tb-table-01">
				<h1>
					第一批录取(普高、现代职教试点)<input id="batch4a5_quit" class="check_batch_quit" type="checkbox"  ${seniorWish.batch4a5QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td colspan="2">报考专业</td>
					</tr>
					<tr>
						<td rowspan='5'>第一批录取</td>
						<td rowspan="3">一阶段(普高)</td>
						<td rowspan="3">统招</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch4School1Name!}
							</p>
						</td>
						<td colspan="2">----</td>
					</tr>
					<tr>
						<td>B</td>
						<td>
							<p>
								${seniorWish.batch4School2Name!}
							</p>
						</td>
						<td colspan="2">----</td>
					</tr>
					<tr>
						<td>C</td>
						<td>
							<p>
								${seniorWish.batch4School3Name!}
							</p>
						</td>
						<td colspan="2">----</td>
					</tr>
					<tr>
						<td rowspan='2'>二阶段(3+4)</td>
						<td rowspan="2">统招</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch5School1Name!}
							</p>
						</td>
						<td style="width:5%">专业</td>
						<td>
							<p>
								${seniorWish.batch5School1Major1Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>B</td>
						<td>
							<p>
								${seniorWish.batch5School2Name!}
							</p>
						</td>
						<td>专业</td>
						<td>
							<p>
								${seniorWish.batch5School2Major1Name!}
							</p>
						</td>
					</tr>
					</tbody>
				</table>
			</div>
			<!-- 第二批录取 -->
			<div class="tb-table-01">
				<h1>
					第二批录取(普高)<input id="batch6_quit" class="check_batch_quit" type="checkbox" ${seniorWish.batch6QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td>报考专业</td>
					</tr>
					<tr>
						<td rowspan='2'>第二批录取</td>
						<td rowspan='2'>----</td>
						<td rowspan="2">统招</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch6School1Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td>B</td>
						<td>
							<p>
								${seniorWish.batch6School2Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<!-- 第三批录取 -->
			<div class="tb-table-01">
				<h1>
					第三批录取(对口单招)<input id="batch7_quit" class="check_batch_quit" type="checkbox"  ${seniorWish.batch7QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td>报考专业</td>
					</tr>
					<tr>
						<td>第三批录取</td>
						<td>----</td>
						<td>统招</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch7School1Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<!-- 第四批录取 -->
			<div class="tb-table-01">
				<h1>
					第四批录取(省部属学校)<input id="batch_8a9a10_quit" class="check_batch_quit" type="checkbox" ${seniorWish.batch8a9a10QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td colspan="2">报考专业</td>
						<td>其他专业</td>
					</tr>
					<tr>
						<td rowspan="19">第四批录取</td>
						<td rowspan="2">艺术类提前录取</td>
						<td rowspan="2">统招</td>
						<td rowspan="2">----</td>
						<td rowspan="2">
							<p>
								${seniorWish.batch8School1Name!}
							</p>
						</td>
						<td style="width:5%">
							专业A
						</td>
						<td>
								${seniorWish.batch8School1Major1Name!}
						</td>
						<td rowspan="2"><input id="batch8_school1_major_allocate" class="check_major_allocate" type="checkbox" ${seniorWish.batch8School1MajorAllocateFlag==1?"checked=\"true\":\"\""}>服从</td>
					</tr>
					<tr>
						<td>
							专业B
						</td>
						<td>
							<p>
								${seniorWish.batch8School1Major2Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td rowspan="16">五年制高职<br/>"3+3"现代职教试点项目</td>
						<td rowspan="15">统招</td>
						<td rowspan="5">A</td>
						<td rowspan="5">
							<p>
								${seniorWish.batch9School1Name!}
							</p>
						</td>
						<td>
								专业A
							</td>
							<td>
							<p>
								${seniorWish.batch9School1Major1Name!}
							</p>
						</td>
						<td rowspan="5"><input id="batch9_school1_major_allocate" class="check_major_allocate" type="checkbox"  ${seniorWish.batch9School1MajorAllocateFlag==1?"checked=\"true\":\"\""}>服从</td>
					</tr>
					<tr>
						<td>
							专业B
						</td>
						<td>
							<p>
								${seniorWish.batch9School1Major2Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业C
						</td>
						<td>
							<p>
								${seniorWish.batch9School1Major3Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业D
						</td>
						<td>
							<p>
								${seniorWish.batch9School1Major4Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业E
						</td>
						<td>
							<p>
								${seniorWish.batch9School1Major5Name!}
							</p>
						</td>
					</tr>
					<!-- ok -->
					<tr>
						<td rowspan="5">B</td>
						<td rowspan="5">
							<p>
								${seniorWish.batch9School2Name!}
							</p>
						</td>
						<td>
							专业A
						</td>
						<td>
							<p>
								${seniorWish.batch9School2Major1Name!}
							</p>
						</td>
						<td rowspan="5"><input id="batch9_school2_major_allocate" class="check_major_allocate" type="checkbox"   ${seniorWish.batch9School2MajorAllocateFlag==1?"checked=\"true\":\"\""}>服从</td>
					</tr>
					<tr>
						<td>
							专业B
						</td>
						<td>
							<p>
								${seniorWish.batch9School2Major2Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业C
						</td>
						<td>
							<p>
								${seniorWish.batch9School2Major3Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业D
						</td>
						<td>
							<p>
								${seniorWish.batch9School2Major4Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业E
						</td>
						<td>
							<p>
								${seniorWish.batch9School2Major5Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td rowspan="5">C</td>
						<td rowspan="5">
							<p>
								${seniorWish.batch9School3Name!}
							</p>
						</td>
						<td>
							专业A
						</td>
						<td>
							<p>
								${seniorWish.batch9School3Major1Name!}
							</p>
						</td>
						<td rowspan="5"><input id="batch9_school3_major_allocate" class="check_major_allocate" type="checkbox"    ${seniorWish.batch9School3MajorAllocateFlag==1?"checked=\"true\":\"\""}>服从</td>
					</tr>
					<tr>
						<td>
							专业B
						</td>
						<td>
							<p>
								${seniorWish.batch9School3Major2Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业C
						</td>
						<td>
							<p>
								${seniorWish.batch9School3Major3Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业D
						</td>
						<td>
							<p>
								${seniorWish.batch9School3Major4Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td>
							专业E
						</td>
						<td>
							<p>
								${seniorWish.batch9School3Major5Name!}
							</p>
						</td>
					</tr>
					<tr>
						<td colspan="2">服从其他学校</td>
						<td ><input id="batch9_school_allocate" class="check_school_allocate" type="checkbox" ${seniorWish.batch9SchoolAllocateFlag==1?"checked=\"true\":\"\""}>服从</td>
						<td colspan="2">----</td>
						<td>----</td>
					</tr>
					<tr>
						<td>三四年制中专</td>
						<td>统招</td>
						<td>----</td>
						<td>
							<p>
								${seniorWish.batch10School1Name!}
							</p>
						</td>
						<td>专业</td>
						<td>
							${seniorWish.batch10School1Major1Name!}
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<!-- 第五批录取 -->
			<div class="tb-table-01">
				<h1>
					第五批录取(市属中专、技工院校)<input id="batch11_quit" class="check_batch_quit" type="checkbox" ${seniorWish.batch11QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td>报考专业</td>
					</tr>
					<tr>
						<td rowspan='3'>第五批录取</td>
						<td rowspan="3">----</td>
						<td rowspan="3">统招</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch11School1Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td>B</td>
						<td>
							<p>
								${seniorWish.batch11School2Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td>C</td>
						<td>
							<p>
								${seniorWish.batch11School3Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<!-- 统配录取 -->
			<div class="tb-table-01">
				<h1>
					统配录取(其他市属中专、技工院校)<input id="batch12_quit" class="check_batch_quit" type="checkbox"  ${seniorWish.batch12QuitFlag==1?"checked=\"true\":\"\""}/>放弃报考该批次
				</h1>
				<table>
					<tbody>
					<tr>
						<td>录取批次</td>
						<td>录取阶段</td>
						<td>录取性质</td>
						<td>志愿序号</td>
						<td>报考院校</td>
						<td>报考专业</td>
					</tr>
					<tr>
						<td rowspan='4'>统配录取</td>
						<td rowspan="4">----</td>
						<td rowspan="4">统招</td>
						<td>A</td>
						<td>
							<p>
								${seniorWish.batch12School1Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td>B</td>
						<td>
							<p>
								${seniorWish.batch12School2Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td>C</td>
						<td>
							<p>
								${seniorWish.batch12School3Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					<tr>
						<td>D</td>
						<td>
							<p>
								${seniorWish.batch12School4Name!}
							</p>
						</td>
						<td>----</td>
					</tr>
					</tbody>
				</table>
			</div>
			<div class="tb-btns" style="padding-bottom: 100px;margin-bottom: 100px;overflow: hidden;">
				<p>
					@if(examinee.confirmStatus==1){
						<input type="button"  value="已确认不能修改" disabled="disabled">
					@}else{
						<input type="button" id="backbtn" value="返回修改">
						<input type="button" id="surebtn" value="最终确认">
					@}
				</p>
			</div>
		</div>
	</div>
	<script type="text/javascript">
		$("input:checkbox").attr("disabled","disabled");

		function logout() {
			layer.confirm('确认退出系统？', {
				btn : [ '确认', '取消' ]
			//按钮
			}, function() {
				layer.closeAll();
				location.href = "${ctxPath}/portal/logout";
			}, function() {
				layer.closeAll();
			});
		}

		//返回修改
		$("#backbtn").click(function() {
			location.href = "${ctxPath}/portal/changeWish";
		});
		//最终确认
		$("#surebtn").click(function() {
			layer.confirm('最终确认后将无法再修改志愿，是否确认？', {
				btn : [ '确认', '取消' ]
			//按钮
			}, function() {
                var ajax = new $ax(Feng.ctxPath + "/portal/confirmWish", function (data) {
                    layer.confirm('确认志愿成功！', {
                        btn: ['确认']
                    }, function () {
                        //跳转到查看志愿
                        location.href = Feng.ctxPath+"/portal/checkWish";
                    });
                }, function (data) {
                    Feng.error("提交失败! " + data.responseJSON.message + "!");
                });
                ajax.start();
			}, function() {
				layer.closeAll();
			});
		});
	</script>
</body>

</html>
